A B C D G I M O R S T U W

A

assertKnownInstances(int) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Checks that the number of known, distinct object instances of this class is as stated.
assertMethodCallCount(String, String, CallCount) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Checks that the number of known invocations of the given method falls within the specified range for each known instances of the class.
assertMethodCallCount(String, String, CallCount) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedInstance
Checks that the number of known invocations of the given method falls within the specified range.
assertMethodCalled(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Checks that the given method has been called at least once on each known instance of the class.
assertMethodNotCalled(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Checks that the given method has not been seen to be called on any known instance of the class.
at(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
atEntry() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
atExit() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
atLine(int) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 

B

BytemanTestHelper - Class in org.jboss.byteman.contrib.dtest
Helper class containing functions used by Byteman rules created by the dtest framework.
BytemanTestHelper(Rule) - Constructor for class org.jboss.byteman.contrib.dtest.BytemanTestHelper
 

C

CallCount - Class in org.jboss.byteman.contrib.dtest
Represents a number range, for use in expressing the limits on the number of expected methods calls to be observed.
CallCount(int, int) - Constructor for class org.jboss.byteman.contrib.dtest.CallCount
 
crashAtMethod(String, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM at a given point within the specified Class.method()
crashAtMethodEntry(Class, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM upon entry to the specified Class.method()
crashAtMethodEntry(String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM upon entry to the specified Class.method()
crashAtMethodExit(Class, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM upon exit of the specified Class.method()
crashAtMethodExit(String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a Rule to kill the target JVM upon exit of the specified Class.method()

D

debug(String, Object) - Method in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
Print a message during rule execution.
doAction(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 

G

getInstances() - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Returns the set of known instances of the class.
getInvocationCount(String) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedInstance
Returns the number of known invocations of the given method upon the object instance.
getMax() - Method in class org.jboss.byteman.contrib.dtest.CallCount
 
getMin() - Method in class org.jboss.byteman.contrib.dtest.CallCount
 
getRedirectedSubmissionsFile() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Returns the file to which Rule submission is currently redirected

I

injectFault(Class, String, Class<? extends Throwable>, Object[]) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject a fault (i.e.
injectOnCall(Class, String, String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Inject an action to take place upon the invocation of the specified class.method
inMethod(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
installHelperJar(String) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Add the specified jar to the remote app's system classpath.
instrumentClass(Class) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Add method tracing rules to the specified class.
instrumentClass(Class, Set<String>) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Add method tracing rules to the specified class.
InstrumentedClass - Class in org.jboss.byteman.contrib.dtest
InstrumentedClass instances serve two purposes: Internally to the framework they provide a communication endpoint for receiving information from the remote, Byteman instrumented code execution.
InstrumentedInstance - Class in org.jboss.byteman.contrib.dtest
InstrumentedInstance instances serve two purposes: Internally to the framework they provide storage of traced method invocation information received from the remote execution via BytemanTestHelper->InstrumentedClass->this.
Instrumentor - Class in org.jboss.byteman.contrib.dtest
The Instrumentor provides for installing tracing and other rules into a remote JVM.
Instrumentor(Submit, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
 
Instrumentor() - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
 
Instrumentor(String, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
 
Instrumentor(String, int, int) - Constructor for class org.jboss.byteman.contrib.dtest.Instrumentor
 

M

main(String[]) - Static method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 

O

onClass(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
onClass(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
onInterface(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
onInterface(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
org.jboss.byteman.contrib.dtest - package org.jboss.byteman.contrib.dtest
 

R

RemoteInterface - Interface in org.jboss.byteman.contrib.dtest
RMI communication endpoint interface, exposed by the test runner for the purpose of receiving remote method trace information from code instrumented by Byteman Rules.
remoteTrace(String, String, Object[]) - Method in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
Send trace information to a remote listener.
removeAllInstrumentation() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Flush any instrumentation for the given class in the remote system and clean up the local cache.
removeLocalState() - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Flush the local cache of scripts and proxies to remote instrumented classes.
RMIREGISTRY_PORT_PROPERTY_NAME - Static variable in class org.jboss.byteman.contrib.dtest.BytemanTestHelper
 
RuleBuilder - Class in org.jboss.byteman.contrib.dtest
Provides a fluent API for creating Byteman rules without needing to mess around with String concatenation.
RuleBuilder(String) - Constructor for class org.jboss.byteman.contrib.dtest.RuleBuilder
 

S

setRedirectedSubmissionsFile(File) - Method in class org.jboss.byteman.contrib.dtest.Instrumentor
Sets the file to which Rule submissions should be redirected.

T

toString() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
trace(String, Object[]) - Method in class org.jboss.byteman.contrib.dtest.InstrumentedClass
Receiving side of the remote communication between the test code and the BytemanTestHelper.
trace(String, Object[]) - Method in interface org.jboss.byteman.contrib.dtest.RemoteInterface
 

U

usingHelper(Class) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
usingHelper(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 

W

when(String) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
when(boolean) - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
whenFalse() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 
whenTrue() - Method in class org.jboss.byteman.contrib.dtest.RuleBuilder
 

A B C D G I M O R S T U W

Copyright © 2012. All Rights Reserved.